import service from "@/utils/service";
import type { UserModel } from "./index.d";
import type { BaseResponse } from "../index.d";
export const useGetUserApi = (
  data: UserModel.UserRequest
): Promise<BaseResponse<UserModel.UserResponse>> => {
  return service({
    url: `/user/page`,
    method: "GET",
    data,
  });
};
